package user

// LoginRequest 登录请求
type LoginRequest struct {
	Username         string `json:"username" binding:"required" label:"用户名" `
	Password         string `json:"password" binding:"required" label:"密码"`
	RememberPassword bool   `json:"rememberPassword" label:"记住密码"`
}

// Password 修改密码请求
type Password struct {
	OldPassword string `json:"oldPassword" binding:"required" label:"旧密码"`
	NewPassword string `json:"newPassword" binding:"required" label:"新密码"`
}

// RefreshTokenRequest 刷新令牌请求
type RefreshTokenRequest struct {
	RefreshToken string `json:"refreshToken" binding:"required"`
}
